package test
{
import Box2D.test.Main;

import flash.display.Sprite;
import flash.events.Event;

/**
 * 
 * @author waitingsnow
 * $Id: Box2D_As3.as 2 2012-05-17 10:10:03Z cgslendy@gmail.com $
 */
public class Box2D_As3 extends Sprite
{
	public function Box2D_As3()
	{
		/*super.initDisplay();
		super.initDebugInfo(true);*/
		
		addEventListener(Event.ADDED_TO_STAGE, init);
	}
	
	private function init(event:Event):void
	{
		removeEventListener(Event.ADDED_TO_STAGE, init);
		addChild(new Main());
	}
}
}